<!DOCTYPE html>
<html>
<head>
	<title>Sistema Gensal<?php if(isset($subTitulo)){echo(" - ".$subTitulo);}?></title>
	<meta http-equiv="Content-Type" content="text/html" charset="utf-8"/>
	<script type="text/javascript" src="<?php echo(base_url());?>libs/js/jquery-1.9.0.min.js"></script>
	<script type="text/javascript" src="<?php echo(base_url());?>libs/js/function.js"></script>
	<link type="text/css" rel="stylesheet" href="<?php echo(base_url());?>libs/css/styles.css" />
</head>
<body>
	<div id="mask"></div>
	<div id="menu">
		<?php echo(anchor('', 'Home'));?> |
		<?php echo(anchor('cliente', 'Cliente'));?> |
		<?php echo(anchor('servicos', 'Servicos Prestados'));?> |
		<?php echo(anchor('representanteComercial', 'Representante Comercial'));?> |
		<?php echo(anchor('produto', 'Produto'));?> |
		<?php echo(anchor('funcionario', 'Funcionario'));?> |
		<?php echo(anchor('configuracao', 'Configura&ccedil;&otilde;es'));?> |
		<?php echo(anchor('login/logout', 'Sair'));?>
	</div>
	<div id="mensagem">
		<?php 
			if($this->session->flashdata('msg')){
				echo($this->session->flashdata('msg'));
			}
		?>
	</div>
	<div>
		<?php echo($contents); ?>
	</div>
</body>
</html>